<div id="append_parent"></div>
<?php if ($this->_var['user_info']): ?>
<div class="logos"><a href="user.php"><img src="themes/default/images/001.gif" /></a></div>

<div class="nav">
	<div class="logo_right" style="float:right;">
            	<ul>
                	<li class="font02">Hello,<a href="user.php"><?php echo $this->_var['user_info']['email']; ?></a>
					<?php if ($this->_var['user_info']['user_type'] == 1): ?>
					(You are logged in in as trainer)
					<?php else: ?>
					(You are logged in in as client)
					<?php endif; ?>
					<img src="themes/default/images/005.gif" width="15" height="19" /><a href="user.php?act=logout" class="font01">logout</a></li>
                </ul>				
	</div>
</div>
<br/>
<br/>
<br/>
<br/>
<?php else: ?>
<div class="logos"><a href="index.php"><img src="themes/default/images/001.gif" /></a></div>
<div class="nav">
<div class="nava">
<ul>
     <li><a href="user.php?act=login">Login</a></li></ul></div>
            <div class="navb"><ul>
        	  <li style="width:110px; padding-left:20px; background:url(themes/default/images/004.gif) no-repeat left center;"><a href="projects.php?act=browse">Find clients</a></li>
              <li style="width:120px; padding-left:20px; background:url(themes/default/images/003.gif) no-repeat left center;"><a href="user.php?act=register&type=1">Trainers join</a></li>
              <li style="width:130px; padding-left:20px; background:url(themes/default/images/002.gif) no-repeat left center;"><a href="user.php?act=register&type=2">Exercisers join</a></li>
</ul>
</div>
</div>
<?php endif; ?>